package com.dykj.fireFighting.api.socialUnit.banner.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 广告banner
 * @Author JacksonTu
 * @Date  2021-08-24 14:08:35
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "广告banner")
@TableName("adverts_banner")
public class AdvertsBanner extends Model<AdvertsBanner> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 图片名称
	 */
    @ApiModelProperty(value = "图片名称")
	private String name;
	/**
	 * 图片id
	 */
    @ApiModelProperty(value = "图片id")
	@TableField("picture_id")
	private String pictureId;
	/**
	 * 显示顺序
	 */
    @ApiModelProperty(value = "显示顺序")
	private String sort;
	/**
	 * 单位id
	 */
    @ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;
	/**
	 * 创建人
	 */
    @ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private String createBy;
	/**
	 * 创建时间
	 */
    @ApiModelProperty(value = "创建时间")
	@TableField("create_time")
	private Date createTime;
	/**
	 * 修改人
	 */
    @ApiModelProperty(value = "修改人")
	@TableField("update_by")
	private String updateBy;
	/**
	 * 修改时间
	 */
    @ApiModelProperty(value = "修改时间")
	@TableField("update_time")
	private Date updateTime;
	/**
	 * 删除标识 0已删除 1未删除
	 */
    @ApiModelProperty(value = "删除标识 0已删除 1未删除")
	@TableField("is_del")
	private Integer isDel;

}
